<template>
	<!-- about -->
	<Header></Header>
	<div class="features features-about segments" style="margin-top: 70px;min-height: 400px;">
	    <div class="container">
			
	        <div class="row">
	            <div class="col s6" v-for="(item,index) in jobList" :key="index" style="margin-bottom: 20px;">
	                <div class="content">
						<router-link :to="`/jobList?id=${item.id}`">
							<i class="fas fa-user"></i>
							<h6>{{item.name}}</h6>
						</router-link>
						
	                </div>
	            </div>
	          
	        </div>
	        
	     
	    </div>
	</div>
	
	 <Footer></Footer>
</template>

<script>
	import api from "@/api/index"
	export default {
		data() {
			return {
				data: {},
				jobList: [],
				id: 0,
				imagesUrl: []
			}
		},
		mounted() {
			this.id = this.$route.query.id
			this.positioncategorygetList()
		},
		methods: {
			//获取数据
			async positioncategorygetList() {
				var url = '?id=' + this.id
				api.positioncategorygetList(url).then(res => {
					console.log(res.data.data)
					this.jobList = res.data.data
				
				})
			},
			
		}
	}
</script>


<style>
	
</style>
